package zmx;

public class Z4 {
public static void main(String[] args) {

	int arr [] = {19, 28, 37, 46, 50, 70, 90, 72};
	arr = Count(arr);
	for (int i = 0; i < arr.length; i++) {
		System.out.print(arr[i]+"|");
	}
}
public static int[] Count(int[] arr) {
	int a;
	for (int i = 0; i < (arr.length/2); i++) {
		a = arr[i];
		arr[i] = arr[arr.length-(i+1)];
		arr[arr.length-(i+1)] = a;
	}
	return arr;
}



}

